package com.feng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feng.entity.Menu;
import com.feng.entity.RestResponse;
import jakarta.servlet.http.HttpServletResponse;

/**
 * (Menu)表服务接口
 *
 * @author feng
 * @since 2024-10-14 13:45:21
 */
public interface MenuService extends IService<Menu> {

    RestResponse selectRouterMenuTreeByUserId(String id);

    RestResponse selectMenuTree();

    RestResponse listAll(String status, String menuName);

    RestResponse addMenu(Menu menu);

    RestResponse getMenuById(Long id);

    RestResponse updateMenu(Menu menu);

    RestResponse deleteMenu(Long id);

    void export(HttpServletResponse response);
}

